# coding:utf-8
# 作者：理想国真恵玩
import pandas as pd
import numpy as np

df1 = pd.DataFrame([
    [1, 2, 3],
    [1, 2, 3],
])
df2 = pd.DataFrame([
    [1, 2, 3],
    [1, 2, 3],
])
# print(df1)
# print(df2)

# 按照行合并，将数据追加到后面，增加新的列，行数不变
df3 = pd.concat([df1, df2], axis=1)
print(df3)
print('-' * 33)

# 按照列合并，将数据追加到下面，增加新的行，列数不变
df4 = pd.concat([df1, df2], axis=0)
print(df4)
